﻿<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true" CodeFile="Danhsachtour.aspx.cs" Inherits="Admin_Danhsachtour" Title="Untitled Page" %>

<%@ Register Assembly="ASPnetPagerV2_8" Namespace="ASPnetControls" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
<b class="fontmenu">Menu</b>
            <hr style="size:1px; width:80%"/>
     
        <ul>
        <li><a href="Danhsachmien.aspx" shape="default" class="fontlink1">Danh sách miền</a></li><li><a href="Danhsachdiadiem.aspx" class="fontlink1">Danh sách địa điểm</a></li></ul> 
        <hr style="size:1px; width:80%"/>
    <ul>
   <li><a href="Danhsachdiadanh.aspx" class="fontlink1">Danh sách địa danh</a></li><li><a href="Danhsachloaitour.aspx" class="fontlink1">Danh sách loại tour</a></li></ul>
    <hr style="size:1px; width:80%"/>
    <ul>
   <li><a href="DShinhthucthanhtoan.aspx" class="fontlink1">DS hình thức thanh toán</a></li><li><a href="DanhsachCTDDAT.aspx" class="fontlink1">Danh sách CTDDAT</a></li> </ul>
   <hr style="size:1px; width:80%"/>
<ul>
   <li><a href="DanhsachCTDDT.aspx" class="fontlink1">Danh sách  CTDDT</a></li><li><a href="Danhsachtourmo.aspx" class="fontlink1">Danh sách tour mở</a></li> </ul>
   <hr style="size:1px; width:80%"/>
   <ul ><li ><a href ="Danhsachtourthamgia.aspx" class ="fontlink1">Danh sách tour tham gia</a></li></ul>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table width="100%" border="0">
        <tr>
            <td colspan="7" class="font">
                Danh sách tour</td>
        </tr>
        <tr><td colspan="7"><p></p></td></tr>
        <tr>
            <td colspan="6" style="height: 26px; width: 697px; font-family:Tahoma; font-size:14px">
                Tên tour:
                <asp:TextBox ID="txttent" runat="server"></asp:TextBox>
                <asp:Button ID="Button1" runat="server" Text="Tìm kiếm" OnClick="Button1_Click" /></td>
                <td style="width: 150px; height: 26px;font-size:medium" align="right">
               <a href="Themtour.aspx">Thêm tour</a>
                | <asp:LinkButton ID="lbt_xoa" runat="server" OnClick="lbt_xoa_Click">Xóa</asp:LinkButton> </td>
        </tr>
        <tr>
            <td colspan="7">
                <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound" EnableTheming="True" >
                
                <HeaderTemplate>
                <table cellpadding="3" cellspacing="0" width="100%" style="background-color:Teal; border-color:White">
                <thead>
                <tr class="fontht2">
                <td style="width:5%">Ma</td>
                <td style="width:20%">Tên Tour</td>
                <td style="width:10%">Hình ảnh</td>
                <td style="width:10%">Loại tour</td>
                <td style="width:10%">Phương tiện</td>
                <td style="width:10%">Giá</td>
                <td style="width:10%">Khởi hành</td>
                <td style="width:5%">Sửa</td>
                <td style="width:10%"><input class="fontlink" id="cb_All" type="checkbox" onclick="CheckAll(1);" />
                            <a href="javascript:CheckAll(2)">Chọn hết</a></td>
                </tr>
                </thead>                         
                 </table>
                </HeaderTemplate>
               <ItemTemplate>
                <table cellpadding="3" cellspacing="0" width="100%" border="1" style="border-style:inset; border-color:Blue; font-family:Tahoma;font-size:14px">
                <tbody>
                <tr>
                 <td  style="width:5%"><%#Eval("matour") %></td>
                    <td style="width:20%">
                        <asp:HyperLink ID="hp_tentour" runat="server"></asp:HyperLink></td>
                        <td style="width:10%">
                           <asp:Image ID="img_t" runat="server" Width="100" Height="100" /></td>
                            <td style="width:10%">
                           <asp:Literal ID="lit_ltour" runat="server" ></asp:Literal></td>
                           <td style="width:10%">
                             <asp:Label ID="lit_pt" runat="server"></asp:Label></td>
                            <td style="width:10%">
                                <asp:Literal ID="lit_gia" runat="server"></asp:Literal>
                                </td>
                                
                     
                      <td style="width:10%">
                           <asp:Literal ID="lit_kh" runat="server" ></asp:Literal></td>
                          
                           <td style="width:5%">
                               <asp:HyperLink ID="hp_sua" runat="server">Edit</asp:HyperLink></td>  
                                <td style="width:10%"><asp:CheckBox ID="cb_Xoa" runat="server" /><asp:HiddenField ID="hf_id" Value='<%#Eval("Matour") %>' runat="server" /></td>                
                               
                </tr>
                    
                </tbody>
                </table>
               </ItemTemplate>
               <FooterTemplate>
               </FooterTemplate>
                 </asp:Repeater>  
                <cc1:PagerV2_8 ID="pager" runat="server" />  
            </td>
        </tr>
    </table>
</asp:Content>

